<template>
  <BasicBar :option='option' />
</template>

<script>
import BasicBar from "./components/BasicBar.vue";

export default {
  name: "App",
  components: {
    BasicBar,
  },
  data() {
    return {
      option: {
        title: {
          text: "基础柱状图123",
        },
        tooltip: {},
        legend: {
          data: ["销量1"],
        },
        xAxis: {
          data: ["衬衫1", "羊毛衫2", "雪纺衫3", "裤子4", "高跟鞋5", "袜子6"],
        },
        yAxis: {},
        series: [
          {
            name: "销量11",
            type: "bar",
            data: [51, 202, 363, 104, 105, 506],
          },
        ],
      },
    };
  },
};
</script>

<style>
</style>
